package org.yanfengying.gift.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.yanfengying.gift.domain.LoginUser;
import org.yanfengying.gift.util.AjaxResult;

@FeignClient(value = "GIFT-AUTH",fallbackFactory = LoginUserClientFacktory.class )
public interface LoginUserClient {

    @PutMapping("/loginUser")
    AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
